package chapter2.No2_2_synchronized同步语句块.eSynchronized代码块之间的同步性;

/**
 * !
 *
 * @author liujian
 * @version 2016/11/11 0011
 */
public class ThreadA extends Thread {
    ServiceClass sv;

    public ThreadA(ServiceClass sv) {
        this.sv = sv;
    }

    @Override
    public void run() {
        sv.methodA();
    }
}
